from django.conf.urls import url
from apps.order.views import OrderPlaceViews, CommentView, OrderCommitView, CheckPayView, OrderPayView

urlpatterns = [
    url(r'^place$', OrderPlaceViews.as_view(), name='place'),  # 显示提交订单页面
    url(r'^commit$', OrderCommitView.as_view(), name='commit'),  # 创建订单
    url(r'^pay$', OrderPayView.as_view(), name='pay'),  # 订单支付
    url(r'^check$', CheckPayView.as_view(), name='check'),  # 查询支付接口
    url(r'^comment/(?P<order_id>.+)$', CommentView.as_view(), name='comment'),  # 订单评论
]
